package com.kikyou.pojo;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;

/**
 * @program: kikyouback
 * @author: 李玉龙
 * @create: 2022-03-09 12:18
 **/
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_position_department")
@ApiModel(value="PositionDepartment对象", description="")
public class PositionDepartment implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "中间表的id")
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    @ApiModelProperty(value = "部门表的id")
    private Integer did;

    @ApiModelProperty(value = "职位表的id")
    private Integer pid;


}